<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core" 
	version="2.0">
    <jsp:directive.page language="java"
        contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
    <jsp:text>
        <![CDATA[ <?xml version="1.0" encoding="UTF-8" ?> ]]>
    </jsp:text>
    <jsp:text>
        <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
    </jsp:text>
<html xmlns="http://www.w3.org/1999/xhtml">
<c:url var="dwrUrl" value="/dwr"/>
<c:set var="baseurl" value="${request.contextPath}"/>
<head>
<script type="text/javascript" src="${dwrUrl}/interface/TimeManager.js"><!--  --></script>
<script src='${dwrUrl}/engine.js'><!--  --></script>
<script type="text/javascript" src="${baseurl}/scripts/projects.js"><!----></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<title>Project Admin</title>
</head>
<body>
	<div>
		<table id="project-table" class="admin-list">
			<thead>
				<tr>
					<th>
						ID
					</th>
					<th>
						Name
					</th>
				</tr>
			</thead>
			<tbody>
			  <c:forEach items="${projects}" var="project">
				<tr>
					<td style="display: none">
						<form>
							<input name="id" value="${project.id}"/>
						</form>
					</td>
					<td>
						${project.id}
					</td>
					<td>
						${project.name}
					</td>
				</tr>
			  </c:forEach>
			</tbody>
		</table>
		<fieldset>
			<button id="add-project">Add</button>
		</fieldset>
	</div>
</body>
</html>
</jsp:root>